<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>WS通信界面</title>
    <link rel="stylesheet" type="text/css" href="/css/websocket/client.css">
</head>
<body>
<input id="text" type="text" placeholder="请输入信息"/>
<button onclick="sendMessage()" id="send">发送消息</button>
<button onclick="clearInput()">清空输入</button>
<button onclick="cleanScreen()">清除记录</button>
<button onclick="closeWebSocket()">关闭连接</button>
<button onclick="reConnect()">重新连接</button>
<div id="message"></div>
</body>
<script src="/js/websocket/client.js"></script>
</html>